package com.iwop.moto.model;

/**
 * 用户推荐记录
 * @author czq
 * @version 1.0
 * @created 2017/2/14 0014.
 */

public class MPromotion {
    /**
     * 主键sid
     */
    private String sid;
    /**
     * 推荐人id
     */
    private String hostUser;
    /**
     * 推荐人推广码
     */
    private String promotionCode;
    /**
     * 被推荐人id
     */
    private String fromUser;
    /**
     * 状态[1:正常][0:逻辑删除]
     */
    private String statusFlag;
    /**
     * 状态更新时间
     */
    private String statusTime;

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getHostUser() {
        return hostUser;
    }

    public void setHostUser(String hostUser) {
        this.hostUser = hostUser;
    }

    public String getPromotionCode() {
        return promotionCode;
    }

    public void setPromotionCode(String promotionCode) {
        this.promotionCode = promotionCode;
    }

    public String getFromUser() {
        return fromUser;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public String getStatusFlag() {
        return statusFlag;
    }

    public void setStatusFlag(String statusFlag) {
        this.statusFlag = statusFlag;
    }

    public String getStatusTime() {
        return statusTime;
    }

    public void setStatusTime(String statusTime) {
        this.statusTime = statusTime;
    }

    @Override
    public String toString() {
        return "MPromotion{" +
                "sid='" + sid + '\'' +
                ", hostUser='" + hostUser + '\'' +
                ", promotionCode='" + promotionCode + '\'' +
                ", fromUser='" + fromUser + '\'' +
                ", statusFlag='" + statusFlag + '\'' +
                ", statusTime='" + statusTime + '\'' +
                '}';
    }
}
